package com.lianzai.mobile.dao;

import com.lianzai.mobile.domain.CarPriceRelaDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 车辆价格规则表
 * @author zb
 * @email 1106900429@qq.com
 * @date 2018-12-16 17:07:19
 */
@Mapper
public interface CarPriceRelaDao {

	CarPriceRelaDO get(Long id);

	CarPriceRelaDO getByCarNumber(String carNumber);

	CarPriceRelaDO getByCarAndCommunity(String carNumber, Long communityId);
	
	List<CarPriceRelaDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CarPriceRelaDO carPriceRela);
	
	int update(CarPriceRelaDO carPriceRela);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
